package com.qingcheng.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.qingcheng.dao.StatisticsMapper;
import com.qingcheng.pojo.system.Statistics;
import com.qingcheng.service.system.StatisticsSevice;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

@Service
public class StatisticsServiceImpl implements StatisticsSevice {

    @Autowired
    public StatisticsMapper statisticsMapper;


    public List<Statistics> findbyId(int id) {
        return (List<Statistics>) statisticsMapper.selectByPrimaryKey(id);
    }
}
